Fix bug#5091: indentation in c++-mode.
authorAlan Mackenzie <acm@muc.de>
Thu, 10 Dec 2009 14:29:11 +0000 (14:29 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 10 Dec 2009 14:29:11 +0000 (14:29 +0000)
commitd9f24d0199202f971c7b434fbb8c7fa1193346ad
tree6d79cfd4579be48dfed64775801f55fc39c2f7c9
parentdddf57f7c8fe641fb86991de72de522b3599e711
Fix bug#5091: indentation in c++-mode.

* cc-mode.el (c-basic-common-init): make text property `category' rear
non-sticky.

* cc-engine.el (c-ssb-lit-begin): New defsubst, extracted from ....
(c-syntactic-skip-backward): Refactor, extracting the above.
(c-guess-basic-syntax CASEs 5D.3, 5L): Add extra anchor point;
(c-guess-basic-syntax CASE 19): New CASE to handle template construct
continued over line boundary.
(c-guess-basic-syntax CASE 7): don't trigger on '<'.
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-mode.el